const { Registration } = require("../../src/command");
const { v4: uuidv4 } = require("uuid");

(async function () {

    const registration = new Registration();
    let remoteMachines = await registration.getRemoteMachines();
    console.log(remoteMachines);

    await registration.register(uuidv4(), "test1");
    await registration.clean();

    remoteMachines = await registration.getRemoteMachines();
    console.log(remoteMachines);

})();